using System;
using System.Security.Cryptography;

namespace SearchAlgorithms.Interfaces
{
    public interface ICompareAlgorithm
    {
        public bool Comparison(byte[] frameA, byte[] frameB);

        public bool CompareWithSequence(byte[] src, byte[] dst);

        public bool CompareWithHash(byte[] src, byte[] dst, HashAlgorithm hash);

        public bool Comparison(Span<byte> frameA, Span<byte> frameB);

        //public bool Comparison2(Span<byte> frameA, Span<byte> frameB);

        public bool CompareWithSequence(Span<byte> src, Span<byte> dst);

        public bool CompareWithHashAsSpan(byte[] src, byte[] dst, HashAlgorithm hash);
    }
}   